package com.xiaoyu.awakening.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoyu.awakening.user.entity.UserEntity;
import com.xiaoyu.awakening.user.dto.UserDto;
import com.xiaoyu.awakening.user.dto.req.CreateUserReq;

/**
 * IUserService
 *
 * @author wangxiaoyu
 * @date 2024/11/5 14:53
 * @since v1.0
 */
public interface IUserService extends IService<UserEntity> {
    UserEntity getUserByUserName(String username);

    boolean saveUser(CreateUserReq createUserReq);

    boolean logicDeleteUserById(Long id);

    UserDto details(Long id);
}
